package com.hdax.dmw.entity.pay;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dmw.entity.BaseTimeEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName dm_trade
 */
@TableName(value ="dm_trade")
@Data
public class Trade extends BaseTimeEntity implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 业务订单号
     */
    private String orderNo;

    /**
     * 交易订单号
     */
    private String tradeNo;

    /**
     * (1:支付宝 2:微信)
     */
    private Integer payMethod;

    /**
     * 交易金额
     */
    private BigDecimal amount;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}